package com.hsu.common.core.constants;

/**
 * @Author Hsu琛君珩
 * @Date 2025-03-23 18:34
 * @Description
 * @Version: v1.0.0
 */
public class CacheConstants {

    /** 缓存有效期，默认720(分钟) */
    public final static long EXP = 720L;
    /** 用户身份认证缓存前缀 */
    public final static String LOGIN_TOKEN_KEY = "login_tokens:";
    /** 刷新时间，默认180(分钟) */
    public static final long REFRESH_TIME = 180L;
    public final static String PHONE_CODE_KEY = "p:c:";
    public static final String CODE_TIME_KEY = "c:t:";
    /** 未完赛竞赛列表 */
    public final static String EXAM_UNFINISHED_LIST = "e:t:l";
    /** 历史竞赛列表 */
    public final static String EXAM_HISTORY_LIST = "e:h:l";
    /** 竞赛详情信息 */
    public final static String EXAM_DETAIL = "e:d:";

}
